package com.cw.part3.model;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

@Table
@Data
public class Emp {
    @Id
    private Integer id;
    private String ename;
    private Integer jobId;
    private Integer mgr;
    private java.util.Date joindate;
    private Double salary;
    private Double bonus;
    private Integer deptId;

}
